<!--
 * FCKeditor - The text editor for internet
 * Copyright (C) 2003-2006 Frederico Caldeira Knabben
 * 
 * Licensed under the terms of the GNU Lesser General Public License:
 * 		http://www.opensource.org/licenses/lgpl-license.php
 * 
 * For further information visit:
 * 		http://www.fckeditor.net/
 * 
 * "Support Open Source software. What about a donation today?"
 * 
 * File Name: fck_image.html
 * 	Image Properties dialog window.
 * 
 * File Authors:
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Image Properties</title>
	<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<META HTTP-EQUIV="expires" CONTENT="Mon, 23 Jan 1978 20:52:30 GMT">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="robots" content="noindex, nofollow" />
	<script src="common/fck_dialog_common.js" type="text/javascript"></script>
	<script src="fck_image/fck_image.js" type="text/javascript"></script>
	<link href="/include/css/css.css" rel="stylesheet" type="text/css" />
	<script>
	function showUpload(){
		if(document.EditForm.file.value==""){
			alert("请选择要上传的文件！");
		}else{
			document.getElementById("divView").style.visibility='hidden';
			//alert(document.getElementById("divUpload").style.visibility);
			document.getElementById("divUpload").style.visibility='visible';
			document.all.img.src = document.EditForm.file.value;
		}
	}
	</script>
    <style type="text/css">
<!--
.STYLE1 {
	font-size: 12px;
	font-weight: bold;
}
td{
background-color:#FFFFFF;
font-size:12px;
}

body {
	background-color: #f1fefa;
}
-->
    </style>
</head>
<body target="_self" scroll="no" style="overflow: hidden">
#if($!fileName)
<div id="divUpload" style="visibility: hidden;" align="center">
	  <table height="180" border="0" cellpadding="0" cellspacing="10" id="table" bgcolor="#f1fefa">
        <tr>
          <td valign="middle" bgcolor="#f1fefa"><table width="277" height="180" border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc">
              <form action="blogPhoto.do" method="post" enctype="multipart/form-data" name="ImgForm" id="ImgForm" onsubmit="javascript:return submitForm();">
                <input type="hidden" name="parameter"  value="save" />
                <tr>
                  <td height="25" colspan="2" bgcolor="ffffdd"><div align="left"><span  class="font06"><img  src="/images/dc_img14.gif" /><strong>上传照片</strong></span></div></td>
                </tr>
                <tr>
                  <td width="85" height="22" align="right">路&nbsp;&nbsp;&nbsp;&nbsp;径：</td>
                  <td width="192"><input name="url" class="line01" id="title2" size="15" maxlength="50" value="$!fileName" /></td>
                </tr>
                <tr>
                  <td align="right" height="22">图片大小：</td>
                  <td height="22">　宽度：
                    <input name="textfield" type="text" size="3">
                    <br>
                     　高度：
                      <input name="textfield2" type="text" size="3">
                  </td>
                </tr>
                <tr>
                  <td nowrap="nowrap"><div align="right"><span fcklang="DlgImgBorder">边&nbsp;&nbsp;&nbsp;&nbsp;框：</span></div></td>
                  <td>　<input type="text" size="2" value="" id="txtBorder" onKeyUp="UpdatePreview();" /></td>
                </tr>
                <!--<tr>
                  <td nowrap="nowrap"><div align="right"><span fcklang="DlgImgHSpace">垂直间距：</span></div></td>
                  <td><input type="text" size="2" id="txtHSpace" onKeyUp="UpdatePreview();" /></td>
                </tr>
                <tr>
                  <td nowrap="nowrap"><div align="right"><span fcklang="DlgImgVSpace">水平间距：</span></div></td>
                  <td><input type="text" size="2" id="txtVSpace" onKeyUp="UpdatePreview();" /></td>
                </tr>-->
                <tr>
                  <td nowrap="nowrap"><div align="right"><span fcklang="DlgImgAlign">对&nbsp;&nbsp;&nbsp;&nbsp;齐：</span></div></td>
                  <td><select id="cmbAlign" onChange="UpdatePreview();">
                      <option value=""></option>
                      <option value="left" selected fcklang="DlgImgAlignLeft">左对齐</option>
                      <option fcklang="DlgImgAlignAbsBottom" value="absBottom">绝对底边</option>
                      <option fcklang="DlgImgAlignAbsMiddle" value="absMiddle">绝对居中</option>
                      <option fcklang="DlgImgAlignBaseline" value="baseline">基线</option>
                      <option fcklang="DlgImgAlignBottom" value="bottom">底边</option>
                      <option fcklang="DlgImgAlignMiddle" value="middle">居中</option>
                      <option fcklang="DlgImgAlignRight" value="right">右对齐</option>
                      <option fcklang="DlgImgAlignTextTop" value="textTop">文本上方</option>
                      <option fcklang="DlgImgAlignTop" value="top">顶端</option>
                                                        </select></td>
                </tr>
                <tr align="center">
                  <td colspan="2" height="20"><input class="input" type="submit" value="插入" name="Submit" />
                    &nbsp;&nbsp;&nbsp;
                    <input class="input" type="reset" value="关闭窗口" name="reset" onclick="pageClose()" /></td>
                </tr>
            </form>
          </table></td>
          <td valign="middle" bgcolor="#f1fefa"><table width="161" height="180" border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc" id="table">
              <tr bgcolor="#ffffdd">
                <td height="27" bgcolor="#ffffdd"><div align="right"><span class="STYLE1">◇预览图片◇</span></div></td>
              </tr>
              <tr>
                <td id="td"><div align="center"> <img id="imgView" src="" width="120" height="120 "/></div></td>
              </tr>
          </table></td>
        </tr>
      </table>
	</div>
#else
	<div id="divView" style="visibility:visible;" align="center">
	  <table height="180" border="0" cellpadding="0" cellspacing="10" id="table" bgcolor="#f1fefa">
        <tr>
          <td valign="middle" bgcolor="#f1fefa"><table width="277" height="180" border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc">
              <form action="blogPhoto.do" method="post" enctype="multipart/form-data" name="EditForm2" id="EditForm2" onsubmit="javascript:return submitForm();">
                <input type="hidden" name="parameter22"  value="save" />
                <tr>
                  <td height="25" colspan="2" bgcolor="ffffdd"><div align="left"><span  class="font06"><img  src="/images/dc_img14.gif" /><strong>上传照片</strong></span></div></td>
                </tr>
                <tr>
                  <td width="85" height="22" align="right"><span  class="font05">* </span>名&nbsp;&nbsp;&nbsp;&nbsp;称：</td>
                  <td width="192"><input name="title22" class="line01" id="title22" size="15" maxlength="50" value="$!title" /></td>
                </tr>
                <tr>
                  <td align="right" height="22">所属目录：</td>
                  <td height="22"><select name="select2" id="select2" value="$!dirid">
                      <option value="$!info.cid">选择影集</option>
                    
                    
		#foreach( $info in $list)
		  
                    
                    <option value="$!info.cid">$!info.title</option>
                    
                    
		#end
        
                  
                  </select>
                  </td>
                </tr>
                <tr>
                  <td height="40" align="right" valign="top">介&nbsp;&nbsp;&nbsp;&nbsp;绍：</td>
                  <td height="40" valign="top"><textarea name="textarea" rows="4"value="$!intro"></textarea></td>
                </tr>
                <tr align="center">
                  <td colspan="2" height="20"><input class="input" type="submit" value="提交上传" name="Submit2" />
                    &nbsp;&nbsp;&nbsp;
                    <input class="input" type="reset" value="关闭窗口" name="reset2" onclick="pageClose()" /></td>
                </tr>
              </form>
          </table></td>
          <td valign="middle" bgcolor="#f1fefa"><table width="161" height="180" border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc" id="table">
              <tr bgcolor="#ffffdd">
                <td height="27" bgcolor="#ffffdd"><div align="right"><span class="STYLE1">◇预览图片◇</span></div></td>
              </tr>
              <tr>
                <td id="td"><div align="center"> <img style="" id="img" src="" width="120" height="120 "/></div></td>
              </tr>
          </table></td>
        </tr>
      </table>
	</div>
	<div id="divUpload" style="visibility: hidden;" align="center">
	  <table height="180" border="0" cellpadding="0" cellspacing="10" id="table" bgcolor="#f1fefa">
        <tr>
          <td valign="middle" bgcolor="#f1fefa"><table width="277" height="180" border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc">
              <form action="blogPhoto.do" method="post" enctype="multipart/form-data" name="EditForm2" id="EditForm2" onsubmit="javascript:return submitForm();">
                <input type="hidden" name="parameter2"  value="save" />
                <tr>
                  <td height="25" colspan="2" bgcolor="ffffdd"><div align="left"><span  class="font06"><img  src="/images/dc_img14.gif" /><strong>上传照片</strong></span></div></td>
                </tr>
                <tr>
                  <td width="85" height="22" align="right"><span  class="font05">* </span>名&nbsp;&nbsp;&nbsp;&nbsp;称：</td>
                  <td width="192"><input name="title2" class="line01" id="title2" size="15" maxlength="50" value="$!title" /></td>
                </tr>
                <tr>
                  <td align="right" height="22">所属目录：</td>
                  <td height="22"><select name="select" id="select" value="$!dirid">
                      <option value="$!info.cid">选择影集</option>
                    
		#foreach( $info in $list)
		  
                    <option value="$!info.cid">$!info.title</option>
                    
		#end
        
                  </select>
                  </td>
                </tr>
                <tr>
                  <td height="40" align="right" valign="top">介&nbsp;&nbsp;&nbsp;&nbsp;绍：</td>
                  <td height="40" valign="top"><textarea name="intro" rows="4"value="$!intro"></textarea></td>
                </tr>
                <tr align="center">
                  <td colspan="2" height="20"><input class="input" type="submit" value="提交上传" name="Submit" />
                    &nbsp;&nbsp;&nbsp;
                    <input class="input" type="reset" value="关闭窗口" name="reset" onclick="pageClose()" /></td>
                </tr>
              </form>
          </table></td>
          <td valign="middle" bgcolor="#f1fefa"><table width="161" height="180" border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc" id="table">
              <tr bgcolor="#ffffdd">
                <td height="27" bgcolor="#ffffdd"><div align="right"><span class="STYLE1">◇预览图片◇</span></div></td>
              </tr>
              <tr>
                <td id="td"><div align="center"> <img style="" id="img" src="" width="120" height="120 "/></div></td>
              </tr>
          </table></td>
        </tr>
      </table>
	</div>
	#end
	
	
</body>
</html>
